package com.daka.dao;


import com.daka.entity.ActivitySign;
import com.daka.mybatis.SQLMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository(value = "activitySignDao")
@SQLMapper
public interface ActivitySignDao {
    int deleteByPrimaryKey(Integer id);

    int insert(ActivitySign record);

    ActivitySign selectByPrimaryKey(Integer id);

    List<ActivitySign> selectByStatement(ActivitySign record);
    int selectByStatementCount(ActivitySign record);

    int updateByPrimaryKeySelective(ActivitySign record);

    ActivitySign findByActivityAndVolunteer(@Param("activityId") Integer activityId,@Param("member") Integer member);
}